package com.aspose.cells;

class zid extends zbz {
   zid() {
      this.c(4154);
      this.b(14);
      this.c = new byte[14];
      this.c[0] = 20;
      this.c[2] = 15;
      this.c[4] = 30;
      this.c[6] = 100;
      this.c[8] = 100;
      this.c[10] = -106;
   }

   void a(int var1) {
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1), 0, this.c, 0, 2);
   }

   void d(int var1) {
      System.arraycopy(com.aspose.cells.b.a.zc.a((short)var1), 0, this.c, 2, 2);
   }

   void e(int var1) {
      System.arraycopy(com.aspose.cells.b.a.zc.a((short)var1), 0, this.c, 4, 2);
   }

   void f(int var1) {
      System.arraycopy(com.aspose.cells.b.a.zc.a((short)var1), 0, this.c, 6, 2);
   }

   void g(int var1) {
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1), 0, this.c, 8, 2);
   }

   void h(int var1) {
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1), 0, this.c, 10, 2);
   }

   void a(Chart var1) {
      this.a(var1.getRotationAngle());
      this.d(var1.getElevation());
      this.e(var1.getPerspective() * 2);
      this.f(var1.getHeightPercent());
      this.g(var1.getDepthPercent());
      this.h(var1.getGapDepth());
      boolean var2 = true;
      byte var3 = 20;
      if (!var1.getAutoScaling()) {
         var3 = (byte)(var3 & 251);
      }

      if (!var1.getRightAngleAxes()) {
         var3 = (byte)(var3 | 1);
      }

      switch(var1.getType()) {
      case 9:
      case 18:
      case 21:
      case 24:
      case 28:
      case 31:
      case 50:
      case 53:
         var3 = (byte)(var3 | 2);
      default:
         if (var1.getWallsAndGridlines2D()) {
            var3 = (byte)(var3 | 32);
         }

         this.c[12] = var3;
      }
   }
}
